package ecmnext.business.event;

/***************************************************************/
/*                     SOFTWARE SECTION                        */
/***************************************************************/
/*
 * <p>Name: ECMNext</p>
 * <p>Description: Simulation of the platform of trading Software</p>
 * <p>Licence: General Public License</p>
 * <p>Organisation: EC Marseille</p>
 * <p>Persons involved in the project : groupe Plateforme de Trading</p>
 * <p>Current version: 1.0</p>
 */
/***************************************************************/
/*            ProgrammedInfoEvent CLASS SECTION                */
/***************************************************************/

/**
 * <p>Title: ProgrammedInfoEvent</p>
 * <p>Description : </p>
 * @author Xuewen YANG ET Antoine COUDERC
 * @version 1.0
 */



public class ProgrammedInfoEvent {

  public static final int PROGRAMMEDINFO_REMOVED = 0;
  public static final int PROGRAMMEDINFO_ALLREMOVED = 1;
  public static final int PROGRAMMEDINFO_ADDED = 2;
  public static final int PROGRAMMEDINFO_LISTLOADED = 3;

  private int event;
  private Object programmedInfoObject;

  public Object getProgrammedInfoObject() {
    return this.programmedInfoObject;
  }

  public int getEvent() {
    return event;
  }

  public ProgrammedInfoEvent(Object PgInfo, int event) {
    this.programmedInfoObject = PgInfo;
    this.event = event;
  }
}
